﻿using System;

namespace OpenWaves.EPiServer.GenericListProperty
{
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
    public class GenericListPropertySettingsAttribute: Attribute
    {
        public GenericListPropertySettingsAttribute()
        {
            this.MinimumElements = 0;
            this.MaximumElements = int.MaxValue;
        }

        public int MinimumElements { get; set; }
        public int MaximumElements { get; set; }
    }
}